# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-daiquiri
pkgver=3.2.1
pkgrel=1
pkgdesc="Library to configure Python logging easily"
url="https://github.com/jd/daiquiri"
arch="noarch"
license="Apache-2.0"
depends="py3-json-logger"
makedepends="py3-setuptools_scm"
checkdepends="py3-mock py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/d/daiquiri/daiquiri-$pkgver.tar.gz"
builddir="$srcdir/"daiquiri-$pkgver

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
cda23ada5e9626cc0993f1ce34e417ef9d535a2b63580f171b6da1e2afbb580ffc6d63059865d83355d4cadb4787d839d5f9c1b1e461557e932c92d395e4d058  daiquiri-3.2.1.tar.gz
"
